onPlayerStateChange

  • function
 

The handler for when the YouTube Player state changes. Updates the time in the viewModel as the time changes in the video.

events.onPlayerStateChange(ev)

The handler for when the YouTube Player state changes. Updates the time in the viewModel as the time changes in the video.

Parameters

  1. ev {*}